package com.zwq.service;

import com.zwq.domain.UmsMember;
import com.zwq.service.impl.UmsMemberFeignServiceImpl;
import com.zwq.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Component
@FeignClient(value = "service-member", fallback = UmsMemberFeignServiceImpl.class)
public interface UmsMemberFeignService {

    @PostMapping("/umsMember/login")
    R login(@RequestBody UmsMember umsMember);

    /**
     * @Description: 远程调用member的微信登录机制
     * @Author: mac
     * @Date: 2024/9/25 16:52
     * @param jsonString:
     * @return: com.bwie.utils.R
     */
    @PostMapping("/umsMember/wxQrCodeLogin")
    R wxQrCodeLogin(String jsonString);
}
